package com.song.entity.gxtp;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 关系图谱_人员库
 * </p>
 *
 * @author song
 * @since 2025-01-21
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("gxtp_ryk")
@ApiModel(value="GxtpRyk对象", description="关系图谱_人员库")
public class GxtpRyk extends Model<GxtpRyk> {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "人员ID")
    @TableId(value = "id", type = IdType.ASSIGN_ID)
    private String id;

    @ApiModelProperty(value = "公民身份号码")
    @TableField("gmsfhm")
    private String gmsfhm;

    @ApiModelProperty(value = "姓名")
    @TableField("xm")
    private String xm;


    @Override
    protected Serializable pkVal() {
        return this.id;
    }

}
